.container {
    width: calc(100vw - var(--width));
    height: calc(var(--height));
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 0.5rem;
    padding: 0 0.3rem;
    border-radius: calc(var(--border-radius));
    border: 1px solid #00000000;
    background-color: #eeeeee;
    transition: all 0.2s ease;

    &:hover {
        border: 1px solid #d1d1d1;
    }

    &:focus-within {
        border: 1px solid #d1d1d1;
        background-color: #ffffff;
        > .clear__icon {
            opacity: 1;
        }
        > .input {
            background-color: #ffffff;
        }
    }

    > .search__icon {
        font-size: calc(var(--search-width));
        transition: all 0.2s ease;
        cursor: pointer;

        &:hover {
            color: #111111;
        }
    }

    > .input {
        width: 100%;
        height: 100%;
        background-color: #eeeeee;
        border: none;
        transition: all 0.2s ease;
    }

    > .clear__icon {
        font-size: calc(var(--clear-width));
        opacity: 0;
        transition: all 0.2s ease;
        cursor: pointer;

        &:hover {
            color: #111111;
        }
    }
}
